package com.apollow.oschina.protocol;

import com.apollow.oschina.base.BaseProtocol;
import com.apollow.oschina.bean.GeneralBlogDetailBean;

import retrofit2.Call;

/**
 * Created by Administrator on 2017/1/15.
 * 项目名:    OsChina
 * 包名:      com.apollow.oschina.protocol
 * 文件名:    BlogProtocol
 * 创建者:    LXF
 * 创建时间:   ${DATA}14:50
 * 描述:     TODO
 */

public class BlogDetailProtocol extends BaseProtocol<GeneralBlogDetailBean>{
    String id;
    @Override
    protected Call<GeneralBlogDetailBean> getCall(String... parms) {
        return mService.getBlogDeatailInfo(id);
    }

    public void setId(String id) {
        this.id=id;
    }
}
